no channel type registered for IAX2

chris (2005-10-07 16:37:44)
7253 views
0 replies
This is another one of those things which can rear its head on new Asterisk builds. The problem arises particularly when updating old builds with new asterisk versions. The error will usually look like this in the asterisk CLI console:
WARNING[51036185]: File channel.c, Line 1646 (ast_request): no channel
type registered for IAX2
NOTICE[51068951]: File app_dial.c, Line 506(dial_exec): Unable to create
channel of type 'IAX2'

So first it reports that there is no such channel type as IAX2. First of all you need to check that the module exists on your system by checking for /usr/lib/asterisk/modules/chan_iax2.so. If this file is in place, then you should then check that it is being loaded by asterisk at boot, so make sure that you have the following line in your /etc/asterisk/modules.conf file:
load => chan_iax2.so

Be sure from this point on that you are using iax2 and that your dialplan always calls the IAX2 protocol rather than IAX. With these files in place and the correct load statement in your modules.conf, your system should be able to create channels of type IAX2.

christo
comment